package com.itheima.dateDemo;

import java.util.Date;

public class dateTest1 {
    public static void main(String[] args) {
        Date date = new Date();
        System.out.println("now" + date);

        long date1 =  1000 * 60 * 60 ;
        Date d2 = new Date(date1);
        System.out.println(d2);
    }
}
